From 3fb6fbd801f6101fea746c6c21f943777e99e9e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Lindqvist?= Date: Tue, 7 Apr 2009 12:54:15 -0400 Subject: [PATCH] clarify bugfix in 2.14 for gtk_expander_get_label Updated documentation for gtk_expander_get_label to clarify that it was changed in 2.14. --- gtk/gtkexpander.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index ebfead7aa4..6866f982c9 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -1538,6 +1538,12 @@ gtk_expander_set_label (GtkExpander *expander, * return value will be %NULL. This will be the case if you create an * empty button with gtk_button_new() to use as a container. * + * Note that this function behaved differently in versions prior to + * 2.14 and used to return the label text stripped of embedded + * underlines indicating mnemonics and Pango markup. This problem can + * be avoided by fetching the label text directly from the label + * widget. + * * Return value: The text of the label widget. This string is owned * by the widget and must not be modified or freed. * -- 2.30.2